package Model.Content;



import java.util.ArrayList;

import Model.Languages.Oracle;
import Model.Languages.Template;

public abstract class LanguageList {

	private static Language[] ruletypelist = {
			new Language("Oracle", new Oracle())
	};

	public static Template getTemplate(String name){
		for(Language t : ruletypelist){
			if(name.equals(t.getName())){
				return t.getTemplate();
			}
		}
		return null;
	}
	
	public static ArrayList<String> getAllLanguages(){
		ArrayList<String> languageNames  = new ArrayList<String>();
		for(Language l : ruletypelist){
			languageNames.add(l.getName());
		}
		return languageNames;
	}
	
	
}
